<div class="main-content">
			<div class="wrap">
			<div class="right-content">
				<div class="right-content-heading">
					<div class="right-content-heading-left">
						<h3><?php echo $page_title ?></h3>
					</div>
					<!--<div class="right-content-heading-right">
						<div class="social-icons">
			                <ul>
			                    <li><a class="facebook" href="#" target="_blank"> </a></li>
			                    <li><a class="twitter" href="#" target="_blank"></a></li>
			                    <li><a class="googleplus" href="#" target="_blank"></a></li>
			                    <li><a class="pinterest" href="#" target="_blank"></a></li>
			                    <li><a class="dribbble" href="#" target="_blank"></a></li>
			                    <li><a class="vimeo" href="#" target="_blank"></a></li>
			                </ul>
					</div>
					</div>-->
					<div class="clear"> </div>
				</div>
				<div class="inner-page">
				<div class="content-grids">
                <!--<?php foreach ($items as $item): ?>
                <div class="content-grid content-grid-list">
                <table><tr><td>
					<?php
					if ($type == 'client')
					{
						echo '<iframe align="left" style="margin: 5px 0px 0px 5px" id="ytplayer" type="text/html" width="640" height="360"
src="https://www.youtube.com/embed/'.$item['youtube_link'].'?modestbranding=0&rel=0&showinfo=0&autohide=1&theme=light"
frameborder="0" allowfullscreen></iframe>';
					} elseif ($type == 'casestudy') {
						$alt_img = base_url().'resources/web/images/alt_logo_casestudies1.png';
						$img = file_exists($item['image_url']) ? $item['image_url'] : $alt_img;
						echo '<img align="left" style="margin: 10px 0px 8px 0px;" src="'.$img.'" />';
					}
					?>
						<ul>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/likes.png" title="image-name" /></a></li>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/views.png" title="image-name" /></a></li>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/link.png" title="image-name" /></a></li>
						</ul></td>
                        <td style="vertical-align: top; padding:0px 0px 0px 10px;" align="left">
                        <div class="vid-title"><?php echo $item['title']?></div>
                        <div class="vid-description"><?php echo $item['description']?></div>
                        </td>
                        </tr>
                        </table>
					</div>
                    <?php endforeach ?>-->
                    <?php foreach ($items as $item): ?>
                <div class="content-grid content-grid-list">
            		
					<?php
						$alt_img = base_url().'resources/web/images/alt_logo_casestudies1.png';
						$img = file_exists($item['image_url']) ? $item['image_url'] : $alt_img;
						echo '<img style="margin: 7px 0px 5px 5px;" align="left" src="'.$img.'" />';
					?>
						<!--<ul>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/likes.png" title="image-name" /></a></li>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/views.png" title="image-name" /></a></li>
							<li><a href="#"><img src="<?=base_url()?>/resources/web/images/link.png" title="image-name" /></a></li>
						</ul>-->
                       
                        <div style="text-align:justify;"><div class="vid-title"><?php echo $item['title']?></div>
                        <div class="vid-description" style="margin:0px 5px 0px 5px;"><?php echo $item['description']?></div></div>
					</div>
                    <?php endforeach ?>
					</div>					
					<div class="clear"> </div>
					<!---End-pagenation----->
				</div>
			</div>

			</div>
		</div>